mmc: sd: extracting erase related information from sd status
Add function to read SD_STATUS information.
According to the information, get erase_timeout/erase_size/erase_offset.
Add a structure sd_ssr to include the erase related information.
Signed-off-by: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Stefan Wahren <[email protected]>
Cc: Clemens Gruber <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Stephen Warren <[email protected]>